package com.qf.push.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * @author 30909
 */

@Configuration
public class WebSocketConfig {
    /**
     * 配置一个serverEndPoint
     * 用于管理连接服务器的uri
     */
    @Bean
    public ServerEndpointExporter serverEndpointExporter(){

        return new ServerEndpointExporter();
    }
}